home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EuroCD 3
/
EuroCD 3.iso
/
Programming
/
Amos
/
AMOSList-1297
/
AMOSLIST
/
000105_amos-request@svcs1.digex.net_Thu Dec 11 05:32:02 1997.msg
< prev
next >
Wrap
Text File
|
1998-06-24
|
3KB
|
82 lines
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by mail4.access.digex.net (8.8.5/8.8.5) with ESMTP id FAA15407
for <mcox@access.digex.net>; Thu, 11 Dec 1997 05:32:00 -0500 (EST)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id DAA05736
for amos-out; Thu, 11 Dec 1997 03:34:54 -0500 (EST)
Received: from mail3.access.digex.net (mail3.access.digex.net [205.197.247.4])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id DAA05733
for <amos-list@svcs1.digex.net>; Thu, 11 Dec 1997 03:34:53 -0500 (EST)
Received: from c2gate.tcom.co.uk (c2gate.tcom.co.uk [194.6.96.2])
by mail3.access.digex.net (8.8.5/8.8.5) with SMTP id DAA11493
for <amos-list@access.digex.net>; Thu, 11 Dec 1997 03:34:49 -0500 (EST)
Received: from Connect2 Message Router by c2gate.tcom.co.uk
via Connect2-SMTP 4.30A; Thu, 11 Dec 1997 08:32:51 +0000
Message-ID: <83CDD93001F73000@c2gate.tcom.co.uk>
Date: Thu, 11 Dec 1997 8:24:00 +0000
From: "Wayne O'Donnell" <wayneo@bacg.com>
Sender: "Wayne O'Donnell" <wayneo@bacg.com>
Organization: *
To: amos-list@access.digex.net (AMOS List),
berionne@flashnet.it (Michele Berionne)
Subject: Re: AMOS>Txt + Installer docs
Importance: Normal
MIME-Version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-disposition: inline
Content-transfer-encoding: 7bit
X-Mailer: Connect2-SMTP 4.30A MHS/SMF to SMTP Gateway
Status: O
X-Status:
>>>Has anyone got a util to convert AMOS source into an ASCII file?
>>>Is it possible to write an AMOS program which can in turn load a source
and
>>> save it as ASCII?
> > Load your prg in the editor. Select all from the block menu. Store from
>> block menu. Save block as ASCII. Tada.
>I think I wanted something to do it on the fly. He said he was looking for
>a tool to add to DOpus and display the sources as ASCII files, without
>storing the ASCII files on the hd.
Thats exactly what I meant.
I attempted to start writing a conversion program lst night but didn't get
very far.
I was trying to get it to just do REM statements initially but had trouble
splitting up the file into the bits I wanted.
So far I have got a header of 20 chars (using AMOS Pro v2 - probably
different on other versions) and a trailer of 10(ish) chars.
If I strip these bits of I am left with the main program in some encrypted
format.
Coding a small program...
Rem a
Rem b
...shows me that the HEX string for the REM statement.
Now if my program is just 1 line then I get approx 8 character back which
seem to map to the REM followed by some junk followed by the actual remark
(a).
With the program above I would expect just for the string to be repeated
with b replacing a and maybe a decimal 10 and 13 stuck inbetween - no such
luck though!
It seems that it just sticks what it likes in the file.
At the rate I am going its not looking very promising - it would probably
take me a couple of years to find out the format.
Do I recall correctly that the source for Amos is now PD?
If so, does anyone know where I could get it.
I think if I had the source then I could just pull out the LOAD, BLOCK ALL
and SAVE AS ASCII commands and stick them into an executable .